package com.gzhryc.weixin.api.event.msg;

import com.gzhryc.common.xml.annotation.XmlElement;

/**
 * 微信事件推送数据对象，XML结构化
 * @author 张浩
 * @version 0.3.4
 */
@XmlElement("xml")
public class EventObject {

	@XmlElement
	public String ToUserName;		//事件响应用户
	@XmlElement
	public String FromUserName;		//事件来源用户
	@XmlElement
	public Long CreateTime;
	@XmlElement
	public String MsgType;
	@XmlElement
	public String Event;
	
	public String getToUserName() {
		return ToUserName;
	}
	public void setToUserName(String toUserName) {
		ToUserName = toUserName;
	}
	public String getFromUserName() {
		return FromUserName;
	}
	public void setFromUserName(String fromUserName) {
		FromUserName = fromUserName;
	}
	public Long getCreateTime() {
		return CreateTime;
	}
	public void setCreateTime(Long createTime) {
		CreateTime = createTime;
	}
	public String getMsgType() {
		return MsgType;
	}
	public void setMsgType(String msgType) {
		MsgType = msgType;
	}
	public String getEvent() {
		return Event;
	}
	public void setEvent(String event) {
		Event = event;
	}
}
